package com.design.pattern.create.factory.factoryMethod;

import com.design.pattern.entry.Fruit;
import com.design.pattern.entry.fruit.Banana;

/**
 * 橘子工厂
 *
 * @author gyf
 * @create 2018-11-30 16:10
 **/
public class BananaFactory implements FruitFactory {
    @Override
    public Fruit getFruit() {
        return new Banana();
    }
}
